home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Director / DATA.Z / Behavior Library.cst / 00040_Video Stop.ls < prev    next >
Encoding:
Text File  |  1997-05-09  |  695 b   |  31 lines

  1. -- Video Stop  MouseUp
  2.  
  3. -- a control
  4.  
  5. property videoSprite -- the sprite number that is getting controlled
  6.  
  7. on mouseUp me
  8.   set the movieRate of sprite the VideoSprite of me = 0
  9. end
  10.  
  11. ---
  12.  
  13. on getPropertyDescriptionList
  14.   set p_list = [ ┬¼
  15.    #videoSprite: [ #comment: "Video Sprite Channel:", ┬¼
  16.                     #format: #integer, ┬¼
  17.                    #default:  1 ] ┬¼
  18.                  ]
  19.   return p_list
  20.  
  21. end
  22.  
  23. on getBehaviorDescription
  24.   return ┬¼
  25. "Stops a digital video playing in the current frame. Attach to a button with the appropriate label." & RETURN & ┬¼
  26. "PARAMETERS:" & RETURN & ┬¼
  27. "ΓÇó Video Sprite - Enter number of the sprite channel in which the video is displayed."    
  28.  
  29. end
  30.  
  31.